 
package com.xbongbong.saas.domain.entity;

import com.xbongbong.paas.toolbox.util.DateUtil;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public class LikeEntity implements Serializable {

	/** Comment for <code>serialVersionUID</code> */
	private static final long serialVersionUID = -1L;

	//========== properties ==========
	
	//主键
	private Long id;
	//公司ID
	private String corpid;
	//点赞者ID
	private String userId;
	//应用id
	private Long appId;
	//被点赞的类型，BuinessCommentEnum
	private Integer type;
	//被点赞对象ID
	private Long refId;
	//点赞者姓名
	private String userName;
	//点赞者头像
	private String userAvatar;
	//创建时间
	private Long addTime;
	//删除标记
	private Integer del;

	public LikeEntity(){
		this.userName = "";
		this.userAvatar = "";
		this.addTime = (long)DateUtil.getInt();
		this.del = 0;
	}
	
}

